{% extends '::base.html.twig' %}

{% block title %}Partner{% endblock %}

{% block topbar %}
<div id="topbar" style="background: url('/images/blue.png') repeat-x scroll 0 0 #B0B0B0">
    <strong class="wrapper">
        {{ partner }}
    </strong>
</div>
{% endblock %}

{% block body %}
<div class="wrapper">
    <div id="content">

        <div class="entry blogentry">
            <h2>{{ partner }}</h2>

            {% if partner.getWebPath() %}
            <img class="rounded" src="{{ partner.getWebPath() }}" alt='{{ partner }}' width='100%' height='270' />
            {% endif %}
            <div class="frame float-right" style="padding-bottom: 10px;">
                {% if partner.contactName %}
                contact person: <span class="highlight-2">{{ partner.contactName }}</span>
                <br>
                {% endif %}
                {% if partner.contactEmail %}
                contact email: <a href="mailto:{{ partner.contactEmail }}">{{ partner.contactEmail }}</a>
                <br>
                {% endif %}
                {% if partner.contactPhone %}
                contact phone: {{ partner.contactPhone }}
                {% endif %}
            </div>
                    
            {{ partner.content | raw }}
        </div>
        <!-- END .entry -->

    </div>
    <!-- END #content -->

    {% include 'KatebaTTICOBundle:TTICO:side_bar.html.twig' %}

</div>
<!-- END .wrapper -->
{% endblock %}